package duotaitest1;

public class Dog extends Animal{
    public static String name="狗";

    public Dog() {
    }

    public Dog(String colour, int age) {
        super(colour, age);

    }


    @Override
    public  void eat(String something){
        System.out.println(getColour()+"的"+getAge()+"岁的狗死死地抱着"+something+"猛吃");
    }
    public void lookhome(){
        System.out.println(getColour()+"的"+getAge()+"岁的狗死死地抱着猛吃");
    }
}
